package com.liqi.monitor.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author huaihuai
 */
@Data
public class SaveScreenshotReq {
    @ApiModelProperty(value = "设备id",required = true)
    @NotBlank(message = "设备id不能为空")
    private String deviceId;
    @ApiModelProperty(value = "IP地址",required = true)
    @NotBlank(message = "IP地址不能为空")
    private String screenshot;
    @ApiModelProperty(value = "屏幕标志，0=双屏，1=主屏，2=辅屏",required = true)
    @NotNull(message = "屏幕标志不能为空")
    private Integer screenFlag;
    @ApiModelProperty(value = "消息编码，后台生成的一个流水号",required = true)
    private String messageCode;


}
